package share.dao.mapper;

import org.apache.ibatis.annotations.Param;
import share.dao.entity.ShareDO;

import java.util.List;

public interface ShareDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShareDO record);

    int insertSelective(ShareDO record);

    ShareDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShareDO record);

    int updateByPrimaryKey(ShareDO record);

    List<ShareDO> listShare();

    List<ShareDO> listShareByPage(@Param("begin") Integer begin, @Param("pageSize") Integer pageSize);

    int findCount();

}